package com.djf.eg.vo;

import java.util.ArrayList;
import java.util.List;

public class MenuVo {
	private String menuCode;
	private String menuName;
	List<PermissionVo> permissions;
	public String getMenuCode() {
		return menuCode;
	}
	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public List<PermissionVo> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<PermissionVo> permissions) {
		this.permissions = permissions;
	}
	
	
	public static void main(String[] args) { 
		MenuVo m1 = new MenuVo();
		m1.setMenuCode("1");
		MenuVo m2 = new MenuVo();
		m2.setMenuCode("1");
		List a = new ArrayList();
		a.add(m1);
		System.out.println(a.contains(m1));
		System.out.println(a.contains(m2));
	}
}
